// 1
export type TeamRoleType = 1 | 2 | 3 | 4;
// 0 普通成员 1 项目管理员
export type ProjectRoleType = 0 | 1;

export interface TeamItem {
  id: string;
  name: string;
  role: TeamRoleType;
}

export interface PrjPermissionState {
  // 为项目id
  id: string;
  userId: string;
  name: string;
  projectAdmin: ProjectRoleType;
  teamList: TeamItem[];
}
